home *** CD-ROM | disk | FTP | other *** search
- /*****************************************************************************
- FILE : d3_graph.ph
- SHORTNAME : graph.ph
- SNNS VERSION : 3.2
-
- PURPOSE : header for graph.c
- NOTES :
-
- AUTHOR : Ralf Huebner
- DATE : 1.12.1991
-
- CHANGED BY : Sven Doering
- IDENTIFICATION : @(#)d3_graph.ph 1.9 3/2/94
- SCCS VERSION : 1.9
- LAST CHANGE : 3/2/94
-
- Copyright (c) 1990-1994 SNNS Group, IPVR, Univ. Stuttgart, FRG
-
- ******************************************************************************/
- #ifndef _D3_GRAPH_DEFINED_
- #define _D3_GRAPH_DEFINED_
- /* begin global definition section */
-
- void d3_drawPoly (register d3_polygon_type *p);
- void d3_drawLine (int x1, int y1, int x2, int y2);
-
- void d3_setClipWindow (int x0, int y0, int x1, int y1);
-
- int d3_intens_to_grayval (float intens);
- int d3_value_to_color (float value);
-
-
- void d3_setColor (long unsigned int color);
- void d3_setBlackColor (void);
- void d3_setLinkColor (float *weight);
-
- void d3_clearDisplay (void);
- void d3_getRootSizes (unsigned int *xsize, unsigned int *ysize);
-
-
- /* end global definition section */
-
- /* begin private definition section */
-
- #define MAXCOLSTEPS 15
- #define POLY_MASK(elem) (1 << (&(*(*poly_dummy+elem)) - (float *)poly_dummy))
-
- static void put_pixel (int px, int py, vector point);
-
- typedef struct { /* WINDOW */
- int x0, y0; /* xmin and ymin */
- int x1, y1; /* xmax and ymax */
- } windowType;
-
- static vector *poly_dummy;
-
-
- /* end private definition section */
-
- #endif
-
-
- /* end of file */
- /* lines: */
-